class CreatePatternsPhases < ActiveRecord::Migration
  def self.up
    create_table :patterns_phases do |t|
      t.integer :pattern_id
      t.integer :phase_id
      t.integer :weight
    end
 end

  def self.down
    drop_table :patterns_phases
  end
end
